<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><?php include template("member","header"); ?>
<div id="main">
 <?php include template('ads' , 'left'); ?>
   <div id="right">
<!--面包屑导航-->
    <p id="position"><strong>当前位置：</strong><a href="">首页</a>广告预订</p>
<table cellpadding="0" cellspacing="1" class="table_list">
    <caption>广告预订</caption>
    <tr>
      <th >广告位</th>
      <th width="15%">广告尺寸</th>
      <th width="15%">广告价格</th>
      <th width="15%">到期日期</th>
      <th width="10%">租出</th>
      <th width="10%">预订</th>
    </tr>
    <?php if(is_array($places)) foreach($places AS $place) { ?>
    <tr>
      <td class="align_left"><?php echo $place['placename'];?></td>
      <td><?php echo $place['width'];?>x<?php echo $place['height'];?></td>
      <td><?php echo $place['price'];?>元</td>
      <td><?php echo $place['todate'];?></td>
      <td><?php if($place['todate']) { ?><font color="red">√</font><?php } else { ?>×<?php } ?></td>
      <td><a href="<?php echo $M['url'];?>sign.php?placeid=<?php echo $place['placeid'];?>">我要预订</A> </td>
    </tr>
    <?php } ?>
  </table>
  </div>
  <div id="pages"><?php echo $pages;?></div>
</div>
<?php include template('phpcms','footer'); ?>